package com.ruoyi.wms.mapper;

import java.util.List;

import com.ruoyi.wms.domain.WmsStockPosition;

/**
 * 仓位Mapper接口
 * 
 * @author ruoyi
 * @date 2022-02-24
 */
public interface WmsStockPositionMapper 
{
    /**
     * 查询仓位
     * 
     * @param stockPosUuid 仓位主键
     * @return 仓位
     */
    public WmsStockPosition selectWmsStockPositionByStockPosUuid(String stockPosUuid);

    /**
     * 查询仓位列表
     * 
     * @param wmsStockPosition 仓位
     * @return 仓位集合
     */
    public List<WmsStockPosition> selectWmsStockPositionList(WmsStockPosition wmsStockPosition);

    /**
     * 新增仓位
     * 
     * @param wmsStockPosition 仓位
     * @return 结果
     */
    public int insertWmsStockPosition(WmsStockPosition wmsStockPosition);

    /**
     * 修改仓位
     * 
     * @param wmsStockPosition 仓位
     * @return 结果
     */
    public int updateWmsStockPosition(WmsStockPosition wmsStockPosition);

    /**
     * 删除仓位
     * 
     * @param stockPosUuid 仓位主键
     * @return 结果
     */
    public int deleteWmsStockPositionByStockPosUuid(String stockPosUuid);

    /**
     * 批量删除仓位
     * 
     * @param stockPosUuids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsStockPositionByStockPosUuids(String[] stockPosUuids);

    public WmsStockPosition findStockPosCode(String stockPosCode);
}
